package com.richper.springcloudh2020.config;

import config.Knife4jConfig;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;

@Configuration
public class WebConfig {

    @Bean(value = "getDocket")
    public Docket getDocket(){
        Knife4jConfig knife4jConfig = new Knife4jConfig();
        return knife4jConfig.getDocket();
    }

}
